package com.usefullc.crawler.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爬虫活动流程实体
 * @author: 星空
 * @date: 2022-12-14
 */
@ApiModel("爬虫活动流程")
@TableName("crawler_active_process")
@Data
public class ActiveProcess extends BaseEntity {

//useful_auto_generate_section_start

    @ApiModelProperty(notes = "进程名称")
    @TableField(value="`name`")
    private String name;

    @ApiModelProperty(notes = "状态（详见 ProcessStatusEnum ）")
    @TableField(value="`status`")
    private Integer status;

    @ApiModelProperty(notes = "模板ID")
    @TableField(value="`templateId`")
    private Long templateId;

    @ApiModelProperty(notes = "变量")
    @TableField(value="`variables`")
    private String variables;

//useful_auto_generate_section_end

    @ApiModelProperty(notes = "用户ID")
    private Long userId;
}
